package com.crazypos.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crazypos.pojo.RoleMenuEntity;
import com.crazypos.pojo.vo.RoleMenuVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoleMenuDao extends BaseMapper<RoleMenuEntity> {

    List<RoleMenuVO> getRoleMenus(@Param("roleId") String roleId, @Param("menuType") Integer menuType);
}
